cmake_minimum_required(VERSION 2.6)

project(test-lua)
set(CORE_SRC
	lapi.c
	lcode.c
	ldebug.c
	ldo.c
	ldump.c
	lfunc.c
	lgc.c
	llex.c
	lmem.c
	lobject.c
	lopcodes.c
	lparser.c
	lstate.c 
	lstring.c
	ltable.c
	ltm.c
	lundump.c
	lvm.c
	lzio.c
	)
set( LIB_SRC
	lauxlib.c
	lbaselib.c
	ldblib.c
	liolib.c
	lmathlib.c
	loslib.c
	ltablib.c
	lstrlib.c
	loadlib.c 
	linit.c
	)
add_library( liblua ${CORE_SRC} ${LIB_SRC})
